package keyboaUtil.commonUtil.regular;

/**
 * @author 2B键盘
 * @create: 2018-03-20 21:16
 * @desc 正则表达式库
 * @version 1.0
 **/
public class Expression {
    /**
     * 获取pdd文件大小
     * <td class="t2"> 138 KB </td>
     *
     */
    public static final String FILE_SIZE_PDD = "\"t2\">(.*?)</td>";
    /**
     * 获取pdd最新文件具体发布日期
     * <td> <span class="green">今天</span> 09:54 </td>
     */
    public static final String UPDATA_DATE_PDD = "green\">(.*?)</span>";
    /**
     * 获取pdd最新文件发布具体时间
     * <td> <span class="green">今天</span> 09:54 </td>
     */
    public static final String UPDATA_TIME_PDD = "</span>(.*?)</td>";
    /**
     * 获取文件的连接地址
     * <td class="t1"><a class="blue" target="_blank" title="推荐信1.doc" href="/r/43730546">推荐信1.doc</a></td>
     */
    public static final String FILE_ADDRESS_PDD = "href=\"/r/(.*?)\">";
    /**
     * 获取网盘图片
     * <td><a target="_blank" title="百度云盘资源，点击查看该用户分享的所有文件" href="/u/bd-1280119414"><img width="16" height="16" src="http://106.14.95.104:8085/img/bd.png"></a></td>
     */
    public static final String FILE_DROPBOX_PDD = "src=\"(.*?)\"></a></td>";

}
